package com.lx.dao;

import com.lx.api.response.TypeInfo;
import com.lx.model.PrintDishType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrintDishTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintDishType record);

    int insertSelective(PrintDishType record);

    PrintDishType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintDishType record);

    int updateByPrimaryKey(PrintDishType record);

    List<TypeInfo> selectByMerchantsId(@Param("merchantsId") Long merchantsId,@Param("shopId") Long shopId);
}